<template>
  <div>
    <h1><slot></slot></h1>

    <actions1>通过 dispatch 访问 actions</actions1>
    <actions2>actions → 组件的 methods</actions2>
  </div>
</template>

<script>
import Actions1 from './Actions1.vue'
import Actions2 from './Actions2.vue'

export default {
  name: 'Actions',
  components: {
    Actions1,
    Actions2
  }
}
</script>
